/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 * <p>
 * https://www.renren.io
 * <p>
 * 版权所有，侵权必究！
 */

package com.cn.xiaonuo.tcrfinance.tcrshops.service;



import com.cn.xiaonuo.common.entity.BusinessMessage;
import com.cn.xiaonuo.core.pojo.page.PageResult;
import com.cn.xiaonuo.tcrfinance.tcrshops.entity.PvProductGroup;
import com.cn.xiaonuo.tcrfinance.tcrshops.param.PvProductGroupParam;

/**
 * 用户
 *
 * @author Mark sunlightcs@gmail.com
 */
public interface ProductGroupService {

    BusinessMessage list( PvProductGroupParam productTypeParam);

    PageResult<PvProductGroup> page(PvProductGroupParam productTypeParam);

    /**
     * 添加商品类别
     *
     * @author luyangyang
     * @date 2021-10-27 11:45:10
     */
    void add(PvProductGroupParam productTypeParam);

    /**
     * 删除商品类别
     *
     * @author luyangyang
     * @date 2021-10-27 11:45:10
     */
    void delete(PvProductGroupParam productTypeParam);

    /**
     * 编辑商品类别
     *
     * @author luyangyang
     * @date 2021-10-27 11:45:10
     */
    void edit(PvProductGroupParam productTypeParam);

    /**
     * 查看商品类别
     *
     * @author luyangyang
     * @date 2021-10-27 11:45:10
     */
    PvProductGroup detail(PvProductGroupParam productTypeParam);

    /**
     * 禁用
     *
     * @author luyangyang
     * @date 2021-10-27 11:45:10
     */
    void updateStatus(PvProductGroupParam productTypeParam);

}
